<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<div class="content-wrap">
        <div class="wrapper" style="bottom: 50px;">
            <ul class="nav nav-tabs">
                <li>
                    <a href="#"  onclick="loadDiv('mainCenterDiv','${ctx}/csm/expImportDetail/index')">入库详情列表</a>
                </li>
                <li class="active">
                    <a href="#" onclick="loadDiv('mainCenterDiv','${ctx}/csm/expImportDetail/form')">
                        <c:choose>
                            <c:when test="${expImportDetail.id==''|| expImportDetail.id==null}">
                                入库详情添加
                            </c:when>
                            <c:otherwise>入库详情修改</c:otherwise>
                        </c:choose>
                    </a>
                </li>
            </ul>
            <section class="panel panel-default">
                <div class="panel-body">
                    <div class="col-lg-12">
                        <form:form id="inputForm" data-parsley-validate="" modelAttribute="expImportDetail" onsubmit="return formSaveLoad('mainCenterDiv','inputForm','${ctx}/csm/expImportDetail/save','${ctx}/csm/expImportDetail/index');" method="post" class="form-horizontal">
                            <form:hidden path="id"/>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">主键：</label>
                                    <div class="col-sm-4">
                                        <form:input path="id" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">主表Id：</label>
                                    <div class="col-sm-4">
                                        <form:input path="masterId" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">序号：</label>
                                    <div class="col-sm-4">
                                        <form:input path="itemNo" htmlEscape="false" class="form-control"  maxlength="4" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">消耗品编码：</label>
                                    <div class="col-sm-4">
                                        <form:input path="expCode" htmlEscape="false" class="form-control"  maxlength="32" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">expInfoId：</label>
                                    <div class="col-sm-4">
                                        <form:input path="infoId" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">包装数量：</label>
                                    <div class="col-sm-4">
                                        <form:input path="packageNum" htmlEscape="false" class="form-control"  maxlength="8" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">包装规格：</label>
                                    <div class="col-sm-4">
                                        <form:input path="packageSpec" htmlEscape="false" class="form-control"  maxlength="20" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">包装单位：</label>
                                    <div class="col-sm-4">
                                        <form:input path="packageUnits" htmlEscape="false" class="form-control"  maxlength="2" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">最小规格：</label>
                                    <div class="col-sm-4">
                                        <form:input path="minSpec" htmlEscape="false" class="form-control"  maxlength="20" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">最小单位：</label>
                                    <div class="col-sm-4">
                                        <form:input path="minUnits" htmlEscape="false" class="form-control"  maxlength="2" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">进货价：</label>
                                    <div class="col-sm-4">
                                        <form:input path="purchasePrice" htmlEscape="false" class="form-control"  />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">折扣：</label>
                                    <div class="col-sm-4">
                                        <form:input path="discount" htmlEscape="false" class="form-control"  />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">批号：</label>
                                    <div class="col-sm-4">
                                        <form:input path="batchNo" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">有效期：</label>
                                    <div class="col-sm-4">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">小包装库存量：</label>
                                    <div class="col-sm-4">
                                        <form:input path="quantity" htmlEscape="false" class="form-control"  maxlength="8" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">机构ID：</label>
                                    <div class="col-sm-4">
                                        <form:input path="orgId" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">货位：</label>
                                    <div class="col-sm-4">
                                        <form:input path="location" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">发票号：</label>
                                    <div class="col-sm-4">
                                        <form:input path="invoiceNo" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">创建时间：</label>
                                    <div class="col-sm-4">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">标志：</label>
                                    <div class="col-sm-4">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">创建人：</label>
                                    <div class="col-sm-4">
                                        <form:input path="createBy.id" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">创建时间：</label>
                                    <div class="col-sm-4">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">更新人：</label>
                                    <div class="col-sm-4">
                                        <form:input path="updateBy.id" htmlEscape="false" class="form-control"  maxlength="64" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">更新时间：</label>
                                    <div class="col-sm-4">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">备注信息：</label>
                                    <div class="col-sm-4">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存">&nbsp;
                                        <input id="btnCancel" class="btn" type="button" value="返 回" onclick="loadDiv('mainCenterDiv','${ctx}/csm/expImportDetail/index')">
                                </div>
                            </div>
                        </form:form>
                    </div>

                </div>
            </section>
        </div>
    </div>